package com.ruoyi.teacher.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.teacher.domain.THomework;
import com.ruoyi.teacher.vo.THomeworkVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 作业Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-12
 */
public interface THomeworkMapper extends BaseMapper<THomework> {

    Page<THomeworkVo> queryList(Page<?> page, @Param("entity") THomeworkVo entity);

    List<THomeworkVo> queryList(@Param("entity") THomeworkVo entity);

    THomeworkVo queryById(@Param("id") Long id);

}
